<?php
class VES_VendorsWarehouse_Warehouse_ConfirmationController extends VES_Vendors_Controller_Action
{
	public function indexAction()
    {
    	$this->loadLayout();
    	$this->_setActiveMenu('sales')->_title($this->__('Sales'))->_title($this->__('Confirmation Orders'));
    	$this->_addBreadcrumb($this->__('Sales'), $this->__('Sales'));
    	$this->_addBreadcrumb($this->__('Manage Orders'), $this->__('Manage Orders'));
		$this->getLayout()->getBlock('content')->append(
						 $this->getLayout()->createBlock('vendorswarehouse/confirmation_order'));
		$this->renderLayout();
    }
	
	public function confirmAction()
    {
		$orderId = $this->getRequest()->getParam('id');
		if(empty($orderId)){
			echo 'Order ID is empty!';
			exit();
		}
    	$this->loadLayout(false);
		$this->renderLayout();
    }

}